package io.renren.service.impl;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import io.renren.dao.PageAccessRecordDao;
import io.renren.entity.PageAccessRecord;
import io.renren.service.PageAccessRecordService;


@Service("pageAccessRecordService")
public class PageAccessRecordServiceImpl implements PageAccessRecordService {
    @Resource
    private PageAccessRecordDao pageAccessRecordDao;

    @Override
    public PageAccessRecord queryObject(Long id) {
        return pageAccessRecordDao.queryObject(id);
    }

    @Override
    public List<PageAccessRecord> queryList(Map<String, Object> map) {
        return pageAccessRecordDao.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return pageAccessRecordDao.queryTotal(map);
    }

    @Override
    public void save(PageAccessRecord pageAccessRecord) {
            pageAccessRecordDao.save(pageAccessRecord);
    }

    @Override
    public void update(PageAccessRecord pageAccessRecord) {
            pageAccessRecordDao.update(pageAccessRecord);
    }

    @Override
    public void delete(Long id) {
            pageAccessRecordDao.delete(id);
    }

    @Override
    public void deleteBatch(Long[]ids) {
            pageAccessRecordDao.deleteBatch(ids);
    }
	
}
